import {request} from '@/utils/request'
// import type { AxiosPromise } from 'axios'
import type { GoodsBannerVo } from '@/api/banner/types.ts'

/**
 * 查询商品轮播图列表
 * @param query
 * @returns {*}
 */

export const getGoodsBannerApi = (query?: any):any => {
  return request<GoodsBannerVo[]>({
    url: '/api/goods/banner/list',
    method: 'GET',
    data: {query}
  })
}
